package abacab.remote.message;

import java.io.Serializable;

/**
 * Find an actor
 */
public class FindActor implements Serializable {
	/** The serial version UID */
	private static final long	serialVersionUID	= 1L;

	/** The actor's path */
	private final String			actorPath;

	/** The result */
	private final Boolean			result;

	/**
	 * Create the message
	 * 
	 * @param actorPath
	 *          the actor's path
	 * @param result
	 *          the result
	 */
	public FindActor(String actorPath, Boolean result) {
		this.actorPath = actorPath;
		this.result = result;
	}

	/**
	 * @return the actor's path
	 */
	public String getActorPath() {
		return this.actorPath;
	}

	/**
	 * @return the result
	 */
	public Boolean getResult() {
		return this.result;
	}
}